package events
{
	import behaviors.IPlayListHandler;
	import flash.events.Event;
	
	public class PlaySongEvent extends Event
	{
		public static var PLAY_SONG_EVENT:String = "playSongEvent";	
		public var songData:Object;
		public var playListHandler:IPlayListHandler;
		public var requiredRelatedVideos:Boolean; 
		
		public function PlaySongEvent(songData:Object,playListHandler:IPlayListHandler=null,requiredRelatedVideos:Boolean=false)
		{
			super(PLAY_SONG_EVENT,true,false);
			this.songData = songData;
			this.playListHandler = playListHandler;
			this.requiredRelatedVideos = requiredRelatedVideos;
		}
		
		override public function clone() : Event
		{
			return new PlaySongEvent(songData, playListHandler, requiredRelatedVideos);
		}
		
	}
}